﻿using System;
using System.ComponentModel;
using Dapper.Contrib.Extensions;

namespace Topro.Entity.Tables
{
    /// <summary>
    /// 商品
    /// </summary>
    [Table("t_product")]
    public partial class Product
    {
        [ExplicitKey]
        public string Id { get; set; }
        public int Type { get; set; }
        public string Name { get; set; }
        public string Code { get; set; }
        public string Barcode { get; set; }
        public string Spec { get; set; }
        public int? Length { get; set; }
        public int? Width { get; set; }
        public int? Height { get; set; }
        public int? Weight { get; set; }
        public int? Diameter { get; set; }
        public int? Volume { get; set; }
        public string Remark { get; set; }
        public int Status { get; set; }
        public int DisplayOrder { get; set; }
        public int CreatedBy { get; set; }
        public DateTime CreateTime { get; set; }
    }
}
